import $ from '../../utils/ajax.js';
import util from '../../utils/util.js';
const app = getApp();
Page({
    data: {
        content: {}
    },
    onLoad(options) {
        this.onPost();
    },
    onPost() {
        $.p(app.wxApp.url + 'agentNew/invoiceInfo', {}, app.onStrart, (res) => {
            this.setData({
                content: res.data
            })
            app.onShop();
        }, (res) => {
            util.showToast(res.data)
        })
    }
})